package com.appbee.cm.shared.dataservice;

import java.util.List;

import com.appbee.cm.server.dataservice.DataService;
import com.appbee.cm.shared.data.ActivityEntryProxy;
import com.appbee.cm.shared.data.NavItemProxy;
import com.appbee.core.server.requestfactory.GuiceServiceLocator;
import com.appbee.user.shared.proxy.WebUserProxy;
import com.google.web.bindery.requestfactory.shared.Request;
import com.google.web.bindery.requestfactory.shared.RequestContext;
import com.google.web.bindery.requestfactory.shared.Service;

@Service(value = DataService.class, locator = GuiceServiceLocator.class)
public interface DataRequest extends RequestContext
{
	public Request<List<NavItemProxy>> findNavItems();

	public Request<List<ActivityEntryProxy>> findActivityEntries();

	public Request<WebUserProxy> getCurrentUser(String destinationURL);

}
